package com.dd.cloud.user.entity.phar;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.annotation.Table;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * @author xt
 */
@Data
@EqualsAndHashCode
@Accessors(chain = true)
@Table(comment = "药房代煎饮片加工类型表")
public class PharFryingOneRule {

    /**
     * 代煎费id
     */
    @TableId(value = "id", type = IdType.AUTO)
    @Column(isKey = true, isAutoIncrement = true)
    private Integer id;

    /**
     * 加工方式是否勾选
     */
    @Column(comment = "加工方式是否勾选")
    private Integer isChecked;

    /**
     * 加工费
     */
    @Column(comment = "加工费")
    private Integer processingFee;

    /**
     * 免代煎费 0.未勾选 1.勾选
     */
    @Column(comment = "免加工费 0.未勾选 1.勾选", length = 4)
    private Integer freeIsChecked;

    /**
     * 药品费
     */
    @Column(comment = "药品费")
    private Integer drugFee;

    /**
     * 满剂总费是否勾选
     */
    @Column(comment = "满剂总费是否勾选 0.未勾选 1.勾选")
    private Integer fullDoseIsChecked;


    /**
     * 满剂量
     */
    @Column(comment = "满剂量")
    private Integer fullDose;


    /**
     * 满剂总费
     */
    @Column(comment = "满剂总费")
    private Integer fullDoseCharge;

    /**
     * 满剂量是否勾选 0.未勾选 1.勾选
     */
    @Column(comment = "满剂量是否勾选 0.未勾选 1.勾选", length = 4)
    private Integer doseIsChecked;

    /**
     * 剂量
     */
    @Column(comment = "剂量")
    private Integer dose;

    /**
     * 单剂量费
     */
    @Column(comment = "单剂量费")
    private Integer doseCharge;

    /**
     * 药房id
     */
    @Column(comment = "药房id")
    private Integer pharId;

    /**
     * 类型
     */
    @Column(comment = "类型 1.代煎 2.饮片")
    private Integer type;

    /**
     * 状态 1.正常 -1.删除
     */
    @Column(comment = "1.正常 -1.删除",defaultValue = "1")
    private Integer status;

    /**
     * 更新时间
     */
    @Column(comment = "更新时间")
    private LocalDateTime updateDate;

}
